package com.cq.hd.member.api.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MerchantDetailVo implements Serializable {

    @ApiModelProperty(value = "商户id")
    private Long id;

    @ApiModelProperty(value = "资金账户类型(1:自建资金账户 2:平台资金账户)")
    private Integer financialAccountType;

    @ApiModelProperty(value = "入驻邀请码")
    private String settleCode;

    @ApiModelProperty(value = "商户编号")
    private String merchantNo;

    @ApiModelProperty(value = "汇付商户号")
    private String hfMerchantNo;

    @ApiModelProperty(value = "取现卡序列号")
    private String withdrawalCardNo;

    @ApiModelProperty(value = "openid")
    private String openid;

    @ApiModelProperty(value = "微信号")
    private String wechat;

    @ApiModelProperty(value = "系统管理员手机号")
    private String mobile;

    @ApiModelProperty(value = "登录密码")
    private String loginPass;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "商品本金余额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal balanceAmt;

    @ApiModelProperty(value = "冻结商品本金")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal freezeAmt;

    @ApiModelProperty(value = "补贴余额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal subsidyAmt;

    @ApiModelProperty(value = "冻结补贴金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal freezeSubsidyAmt;

    @ApiModelProperty(value = "商户名称")
    private String merchantName;

    @ApiModelProperty(value = "商户简称")
    private String merchantShortName;

    @ApiModelProperty(value = "公司类型(1：政府机构，2：国营企业，3：私营企业，4：外资企业，5：个体工商户，6：其它组织，7：事业单位)")
    private Integer companyType;

    @ApiModelProperty(value = "所属行业code")
    private String mcc;

    @ApiModelProperty(value = "所属行业名称")
    private String mccName;

    @ApiModelProperty(value = "联系人姓名")
    private String contactName;

    @ApiModelProperty(value = "联系人手机号")
    private String contactMobileNo;

    @ApiModelProperty(value = "联系人电子邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "客服电话")
    private String customerMobile;

    @ApiModelProperty(value = "客服微信号")
    private String customerWechat;

    @ApiModelProperty(value = "微信客服二维码")
    private String customerWechatUrl;

    @ApiModelProperty(value = "定位省份名称")
    private String provinceName;

    @ApiModelProperty(value = "定位市名称")
    private String cityName;

    @ApiModelProperty(value = "定位区县名称")
    private String countyName;

    @ApiModelProperty(value = "定位详细地址")
    private String position;

    @ApiModelProperty(value = "最后登录时间")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty(value = "最后登录ip")
    private String lastLoginIp;

    @ApiModelProperty(value = "状态(1-正常，2-已封禁)")
    private Integer state;

    @ApiModelProperty(value = "创建者")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "删除状态:0-正常，1-已删除")
    private Integer delState;

}
